package com.xw.echo.core.protocol;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Result implements Protocol{
    //响应标识 对应请求标识
    private String requestId;
    //响应数据体
    private Object resultValue;
    //异常
    private Exception exception;
}
